package com.sc.nft.entity.vo;

import com.sc.nft.entity.SaasTask;
import com.sc.nft.enums.SaasTaskStatusEnum;
import com.sc.nft.enums.SaasTaskTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
@Data
public class SaasTaskTemplatePageVO {
    @ApiModelProperty("任务模板id")
    private Long id;

    @ApiModelProperty("模板名字")
    private String taskType;

    @ApiModelProperty("启用状态 1:启动 0:未启动")
    private SaasTaskStatusEnum saasTaskStatus;

    @ApiModelProperty(value = "商户是否可用该模板")
    private Boolean useCommercial;


    public void setTaskType(SaasTaskTypeEnum taskType) {
        this.taskType = taskType.getDesc();
    }
}
